package io.renren.modules.article.service;

import io.renren.modules.article.entity.ArticleEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author zhangheng
 * @email zh_123shmily@163.com
 * @date 2017-09-21 18:18:39
 */
public interface ArticleService {
	
	ArticleEntity queryObject(Long id);
	
	List<ArticleEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(ArticleEntity article);
	
	void update(ArticleEntity article);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);
}
